package com.javasm.crm.mapper.giftmapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.javasm.crm.domin.entity.gift.*;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author smf
 * @since 2021-07-12
 */
@Mapper
@Repository
public interface GoodsBindListMapper extends BaseMapper<BindGoodlist> {

	@Delete("delete from bind_goodlist where bind_id= #{bindId}")
	int deleteBindGoodList(Integer bindId);

}
